import { createApp } from 'vue'
import App from './App.vue'
import "@/assets/style/index.scss";

import ElementPlus from 'element-plus';
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/theme-chalk/index.css';

import 'virtual:svg-icons-register'
import SvgIcon from "@/components/svgIcon/index.vue";

const app = createApp(App)
app.component('svg-icon', SvgIcon)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(ElementPlus, { size: 'small' })
app.mount('#app')
